#include <cstdio>

#define PI 3.14159

using namespace std;

template <typename LEN>
class Circle
{
	private:
		LEN radius;
	
	public:
		Circle(LEN _radius=0)
		{
			Assign(_radius);
		}

		void Assign(LEN _radius)
		{
			radius = _radius;
		}

		double getR()
		{
			return (double) radius;
		}

		double getC()
		{
			return 2.0 * PI * radius;
		}

		double getS()
		{
			return PI * radius * radius;
		}
};

int main()
{
	Circle<int> c1(1);
	Circle<double> c2(1.5);

	printf("Circle c1:  R: %6lf  C: %6lf  S: %6lf\n", c1.getR(), c1.getC(), c1.getS());
	printf("Circle c2:  R: %6lf  C: %6lf  S: %6lf\n", c2.getR(), c2.getC(), c2.getS());

	return 0;
}
